package org.zfes.snowier.cloud.zbss.metting.biz.dto;
import java.io.Serializable;

public class MettingsAttachesCreateDto  implements Serializable{

	private static final long serialVersionUID = 1L;
	
	public MettingsAttachesCreateDto() {}
	//<-------------------------------------------->

	private java.lang.Long metId;
	@javax.validation.constraints.NotBlank(message="附件不能为空")
	@javax.validation.constraints.NotNull(message="附件不能为空")
	@org.hibernate.validator.constraints.Length(min=0,max=255,message="附件长度不能大于255")
	  private java.lang.String file;
	@javax.validation.constraints.NotBlank(message="附件名称不能为空")
	@javax.validation.constraints.NotNull(message="附件名称不能为空")
	@org.hibernate.validator.constraints.Length(min=0,max=255,message="附件名称长度不能大于255")
	  private java.lang.String attachName;
 
	
	public MettingsAttachesCreateDto(Long metId, String file, String attachName) {
		super();
		this.metId = metId;
		this.file = file;
		this.attachName = attachName;
	}
	//<-------------------------------------------->
	public MettingsAttachesCreateDto setMetId(java.lang.Long metId){
	 this.metId=metId;
	 return this;
	}
	public java.lang.Long getMetId(){
		return this.metId;
	}
	public MettingsAttachesCreateDto setFile(java.lang.String file){
		this.file=file==null?null:file.trim();
	 return this;
	}
	public java.lang.String getFile(){
		return this.file;
	}

	public MettingsAttachesCreateDto setAttachName(java.lang.String attachName){
		this.attachName=attachName==null?null:attachName.trim();
	 return this;
	}
	public java.lang.String getAttachName(){
		return this.attachName;
	}

}
